var mongoose = require('mongoose')

var schema = require('../config/schema')
var adminSchema = mongoose.Schema(schema.admin)

// vacationSchema.methods.getDisplayPrice = function(){

//     return '$' + (this.priceInCents/100).toFixed(2);
// }

var adminModel = mongoose.model('admin', adminSchema)

module.exports = adminModel;
